//
//  AMUserInfoDataDataModule.h
//  WeiDu_1_0
//
//  Created by foguo-mac-1 on 01/07/16.
//  Copyright (c) 2016 WeiDu Energy Tech. All rights reserved.
//

#import "HOBaseDataModule.h"
#import "HOUserInfoEntity.h"

@interface HOUserInfoDataModule : HOBaseDataModule
{
    NSString  *_RegistrationID;    //来自JPush的ResitrationID
}
@property(nonatomic, retain)HOUserInfoEntity *userInfo;

- (HO_USER_TYPE)getUserType;
- (NSString *)getToken;
- (NSString *)getRongyunToken;

- (void)logout;
- (void)saveUserId:(int)userId;
- (int)getUserId;
- (void)saveUserType:(HO_USER_TYPE)userType;
- (void)saveToken:(NSString *)token;

- (void)saveLanguage:(NSString *)language;
- (void)saveToken:(NSString *)token
 withRongyunToken:(NSString *)rongyunToken
	 withUserType:(HO_USER_TYPE)userType;
@end
